package com.vision.sales.cl.data;

import java.util.Date;

import com.google.gwt.core.client.GWT;
import com.google.gwt.editor.client.Editor.Path;
import com.sencha.gxt.core.client.ValueProvider;
import com.sencha.gxt.data.shared.LabelProvider;
import com.sencha.gxt.data.shared.ModelKeyProvider;
import com.sencha.gxt.data.shared.PropertyAccess;
import com.vision.sales.cm.db.data.Check;

public interface CheckProperties extends PropertyAccess<Check> {
	
	public static final CheckProperties INSTANCE = GWT.create(CheckProperties.class);
	
	@Path("id")
	ModelKeyProvider<Check> key();

	@Path("checkNo")
	LabelProvider<Check> nameLabel();

	ValueProvider<Check, Long> id();

	ValueProvider<Check, String> bank();
	
	ValueProvider<Check, String> checkNo();
	
	ValueProvider<Check, Date> checkDate();

	ValueProvider<Check, Double> amount();
	
	ValueProvider<Check, Date> dateDeposited();
	
	ValueProvider<Check, Date> dateCleared();
	
	ValueProvider<Check, String> remarks();
}